package com.yl.chainStore.mapper.sick

import com.baomidou.mybatisplus.core.mapper.BaseMapper
import com.baomidou.mybatisplus.extension.plugins.pagination.Page
import com.yl.chainStore.entity.sick.SickConsultRecordDetail
import com.yl.chainStore.pojo.vo.sick.SickConsultRecordsDetailSelectVo
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Param

/**
 * 咨询记录
 */
@Mapper
interface SickConsultRecordsDetailMapper : BaseMapper<SickConsultRecordDetail> {
    /**
   * 分页查询
   */
  fun getPage(
      @Param("page")page: Page<SickConsultRecordDetail>,
      @Param("vo")vo: SickConsultRecordsDetailSelectVo
  ): Page<SickConsultRecordDetail>

  /**
   * 分页查询
   */
  fun getList(
    @Param("vo")vo: SickConsultRecordsDetailSelectVo
  ):List<SickConsultRecordDetail>
}
